﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;  //using this to define keys [key]

namespace BaseballGame.Models
{
    public class league
    {
        [Key]
        public int LeagueId { get; set; }

        public string LeagueName { get; set; }

        public int team1ID { get; set; }
        public Team team1 { get; set; }

        public int team2ID { get; set; }
        public Team team2 { get; set; }

        public int team3ID { get; set; }
        public Team team3 { get; set; }

        public int team4ID { get; set; }
        public Team team4 { get; set; }

    }
    
}
